using System;
using System.Collections.Generic;

namespace G15_Agent.Models
{
    public class NguoiDung
    {
        public NguoiDung()
        {
            this.HoaDonKHs = new List<HoaDonKH>();
            this.TheTinDungs = new List<TheTinDung>();
        }

        public int id { get; set; }
        public string MaNguoiDung { get; set; }
        public string HoTen { get; set; }
        public string NgaySinh { get; set; }
        public string DiaChi { get; set; }
        public string SoDT { get; set; }
        public string TenDangNhap { get; set; }
        public string MatKhau { get; set; }
        public string PhanQuyen { get; set; }
        public Nullable<bool> TrangThai { get; set; }
        public virtual ICollection<HoaDonKH> HoaDonKHs { get; set; }
        public virtual ICollection<TheTinDung> TheTinDungs { get; set; }
    }
}
